package models.admin

import models.shared.UserUi

sealed class AdminEvent {
    data object LoadUsers : AdminEvent()
    data class UpdateRole(val id: Int, val role: UserUi.Role) : AdminEvent()
    data class UpdateLocation(val id: Int, val locationId: Int) : AdminEvent()
    data class Delete(val id: Int) : AdminEvent()
    data class SelectUser(val user: UserUi) : AdminEvent()
}